"""
# -*- coding: utf-8 -*-
Time    : 2025/7/22 下午6:13
Author  : Micah
File    : test_fixture_autouse.py
Function:
"""
import pytest


# autouse = True 不需要在测试方法中传参调用
@pytest.fixture(autouse=True)
def open_browser():
    print("打开浏览器")


def test_login():
    print("登录")


def test_search():
    print("搜索")


def test_exit():
    print("退出")
